package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.ClassesDTO;

public interface ClassesService {

    List<ClassesDTO> index(Searchable searchable);

    Page<ClassesDTO> search(Pageable pageable, Searchable searchable);

    ClassesDTO create(ClassesDTO dto);

    ClassesDTO update(Long id, ClassesDTO dto);

    ClassesDTO details(Long id);

    void delete(Long id);
}
